package com.uplift.sec;

import java.util.Map;

public class SecurityContext {

	private static ThreadLocal<Map<String, Object>> threadLocal = new ThreadLocal<>();

	public static void setUser(Map<String, Object> user) {
		threadLocal.set(user);
	}

	public static Map<String, Object> getSessionUser() {
		return threadLocal.get();
	}
}
